Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRSetControlSetting

You can use the QTVRSetControlSetting function to set the state of a control setting for an object node.

OSErr QTVRSetControlSetting (
                     QTVRInstance qtvr,
                     QTVRControlSetting setting,
                     Boolean enable);
qtvr
An instance of a QuickTime VR movie.
setting
A control setting. See "Control Settings" for a description of the available control settings.
enable
A Boolean value that indicates whether the specified control setting is to be enabled for the specified object node ( true ) or disabled ( false ).
function result
A result code.

DESCRIPTION

The QTVRSetControlSetting function sets the state of the control setting specified by the setting parameter for the object node specified by the qtvr parameter to the state specified by the enable parameter.

SPECIAL CONSIDERATIONS

QTVRSetControlSetting is valid only for object nodes.

SEE ALSO

Use QTVRGetControlSetting (link) to get the current state of a control setting for an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |